#ifndef __DHT11_H__
#define __DHT11_H__
#include "sys.h"


sbit DHT11_PIN = P1^7;

#define DHT11_IO_IN()		P1MDOUT &= 0x7F
#define DHT11_IO_OUT()	P1MDOUT |= 0x80
#define DHT11_DATA			DHT11_PIN




u8 dht11_init(void);
u8 dht11_read_data(u8 * temp,u8 * hum);







#endif
